package com.cn.mapper.dao.db5.TechnologicalStandard;


import com.cn.bean.pojo.TechnologicalStandard.ProductRollerRoughnessSettingMain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductRollerRoughnessSettingMainDao {
    List<ProductRollerRoughnessSettingMain> selectReplaceProcessStandards(@Param("page")int page, @Param("limit")int limit, String equipmentStructure);
    int addReplaceProcessStandards(@Param("productRollerRoughnessSettingMain")ProductRollerRoughnessSettingMain productRollerRoughnessSettingMain);
    List<ProductRollerRoughnessSettingMain> selectReplaceProcessStandardsId(@Param("id")int id);
    int deleteGrindingProcessStandardMain(@Param("id")int id);
    int updateGrindingProcessStandardMain(@Param("productRollerRoughnessSettingMain")ProductRollerRoughnessSettingMain productRollerRoughnessSettingMain);

    int updateShGrindingProcessStandardMain(@Param("id")int id,@Param("state")int state,@Param("reviewer")String reviewer,@Param("reviewerID")String reviewerID,@Param("reviewTime")String reviewTime);

    Integer selectShZT(@Param("id")int id);

}
